import ThirdLayout from "~/layout/ThirdLayout";
export const DAILYREPORT = "daily-report";
export const WEEKLYREPORT = "weekly-report";
export const MONTHLYREPORT = "monthly-report";
export const EVALUATIONREPORT = "evaluation-report";


export const DAILYREPORT_BODY = "DailyReport";
export const WEEKLYREPORT_BODY = "WeeklyReport";
export const MONTHLYREPORT_BODY = "MonthlyReport";
export const EVALUATIONREPORT_BODY = "EvaluationReport";
const routers = [{
        name: DAILYREPORT,
        path: DAILYREPORT,
        component: ThirdLayout,
        redirect: { name: DAILYREPORT_BODY },
        children: [{
            name: DAILYREPORT_BODY,
            path: "data",
            component: () =>
                import ("../../../views/analysis-report/DailyReport"),
            meta: {
                label: "日报"
            },
        }],
        meta: {
            icon: "icon-list",
            label: "日报",
        }
    },
    {
        name: WEEKLYREPORT,
        path: WEEKLYREPORT,
        component: ThirdLayout,
        redirect: { name: WEEKLYREPORT_BODY },
        children: [{
            name: WEEKLYREPORT_BODY,
            path: "week",
            component: () =>
                import ("../../../views/analysis-report/WeeklyReport"),
            meta: {
                label: "周报"
            },
        }],
        meta: {
            icon: "icon-list",
            label: "周报",
        }
    },
    {
        name: MONTHLYREPORT,
        path: MONTHLYREPORT,
        component: ThirdLayout,
        redirect: { name: MONTHLYREPORT_BODY },
        children: [{
            name: MONTHLYREPORT_BODY,
            path: "month",
            component: () =>
                import ("../../../views/analysis-report/MonthlyReport"),
            meta: {
                label: "月报"
            },
        }],
        meta: {
            icon: "icon-list",
            label: "月报",
        }
    },
    {
        name: EVALUATIONREPORT,
        path: EVALUATIONREPORT,
        component: ThirdLayout,
        redirect: { name: EVALUATIONREPORT_BODY },
        children: [{
            name: EVALUATIONREPORT_BODY,
            path: "evaluatton",
            component: () =>
                import ("../../../views/analysis-report/EvaluationReport"),
            meta: {
                label: "综合分析"
            },
        }],
        meta: {
            icon: "icon-list",
            label: "综合分析",
        }
    },

];

export default routers;
